﻿'use strict';
app.controller("tabla10Controller", function ($scope, tabla10Service, $window) {

    $scope.hola = function () {
        console.log($scope.Descripcion);
    }
    $scope.list = [];

    $scope.lis = function () {
        tabla10Service.getList().then(function (results) {
            $scope.list = results.data;
        }, function (error) {
            console.log(error.data.message);
        });
    }

    $scope.getById = function (tabla10) {
        $scope.tabla10 = tabla10;
    };
    $scope.lis();

});